commit 38fc5d5d740c962f3cd34f351babd9728f2c14b0
Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Date:   Mon Apr 19 14:01:55 2010 +0200

    [G45] Don't export internal symbols as they can be mixed up
    with those from the system i965_dri.so.

diff --git a/i965_drv_video/Makefile.am b/i965_drv_video/Makefile.am
index 975b7b2..9c9a60d 100644
--- a/i965_drv_video/Makefile.am
+++ b/i965_drv_video/Makefile.am
@@ -22,7 +22,7 @@
 
 SUBDIRS = shaders
 
-AM_CFLAGS = -Wall -I$(top_srcdir) -I$(top_srcdir)/va -I$(top_srcdir)/va/x11 @DRM_CFLAGS@
+AM_CFLAGS = -Wall -I$(top_srcdir) -I$(top_srcdir)/va -I$(top_srcdir)/va/x11 @DRM_CFLAGS@ -fvisibility=hidden
 
 i965_drv_video_la_LTLIBRARIES = i965_drv_video.la
 i965_drv_video_ladir = @LIBVA_DRIVERS_PATH@
diff --git a/i965_drv_video/i965_drv_video.c b/i965_drv_video/i965_drv_video.c
index da53bf8..fa4a053 100644
--- a/i965_drv_video/i965_drv_video.c
+++ b/i965_drv_video/i965_drv_video.c
@@ -1910,6 +1910,10 @@ i965_Terminate(VADriverContextP ctx)
 
 VAStatus 
 VA_DRIVER_INIT_FUNC(  VADriverContextP ctx )
+    __attribute__((__visibility__("default")));
+
+VAStatus
+VA_DRIVER_INIT_FUNC(  VADriverContextP ctx )
 {
     struct VADriverVTable * const vtable = ctx->vtable;
     struct i965_driver_data *i965;
